package parabullgame;


import java.util.LinkedList;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Tyler
 */
public class Map
{

    LinkedList EntityList = new LinkedList();

    public Map()
    {
    }

    public void addEntity(Entity newEntity)
    {
        EntityList.add(newEntity);
    }

    public void drawList()
    {

        Object[] ArrayList = EntityList.toArray();
        for (Object e : EntityList)
        {
            Entity iterEntity = (Entity) e;
            iterEntity.draw();
        }
    }
}
